@import "~pc/styles/lib_var.less";
@import "~pc/styles/lib_mixins.less";

.catalogWrapper {
  background-color: var(--defaultBg);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;

  .workCatalog {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    padding: 0 20px;
    box-sizing: border-box;

    .title {
      flex: 1;
      font-size: 13px;
      color: var(--secondLevelText);
      height: 20px;
      line-height: 20px;
      font-weight: normal;
    }

    .opWrapper {
      display: flex;
      flex-direction: row;
      align-items: center;

      .iconItem {
        margin-left: 10px;
        width: 15px;
        height: 15px;
        svg {
          cursor: pointer;
        }
      }
    }
  }

  .treeWrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2px;
    padding-bottom: 40px;

    .addButton {
      display: flex;
      flex-direction: row;
      align-items: center;

      svg {
        fill: var(--thirdLevelText);
      }

      .text {
        padding-left: 6px;
        color: var(--thirdLevelText);
      }
    }
  }

  .treeFill {
    & > div:first-child {
      flex: 1;
    }
  }

  .shortcutMenu {
    background-color: var(--defaultBg);
    position: absolute;
    z-index: var(--catalogShortMenu);
    width: 200px;
    box-shadow: 0px 1px 2px 1px var(--shadowColor);

    .menuItem {
      height: 30px;
      line-height: 30px;
      text-align: center;
      cursor: default;
      &:hover {
        background-color: var(--rowSelectedBg);
      }
    }
  }
  .addNodeBtn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 16px 0 16px;

    button {
      border: 1px dashed var(--lineColor);
      border-radius: 4px;
    }
  }
  .inviteCardWrap {
    padding: 0 22px 42px;
  }
}
